package com.hlkj.pay.dto.common.ocr;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.valid.EnumValidString;
import com.hlkj.pay.enums.CommonEnum;
import com.hlkj.pay.dto.common.OcrConfig;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
 * @author HlpayTeam
 * @date 2024/09/13 11:05
 */
@Data
public class OcrScan {
	
	@Schema(description ="图片地址")
	private String imageUrl;
	@Schema(description ="类型 身份证正面：ocr_id_front 身份证反面：ocr_id_reverse 银行卡：ocr_bank_card 营业执照：ocr_license")
	@EnumValidString(value = CommonEnum.OCR_TYPE.class,message = "ocr类型无效")
	private String type;
	
	private OcrConfig ocrConfig;
}
